package com.kantboot.business.ac.domain.ao;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class YrApiProductAO implements Serializable {

    /**
     * 产品类型id
     */
    @JSONField(ordinal = 1)
    private Long id;

    /**
     * 产品类别id
     */
    @JSONField(ordinal = 2)
    private Long cateId;

    public void setId(Long cateId) {
        this.cateId = cateId;
        this.setCateId(cateId);
    }

    /**
     * 类别名称
     */
    @JSONField(ordinal = 2)
    private String cate;

    /**
     * 排序
     */
    @JSONField(ordinal = 3)
    private Integer sort;

    /**
     * 产品类型
     */
    @JSONField(ordinal = 4)
    private Long type;

    @JSONField(ordinal = 5)
    List<YrApiProductInAO> products;





}
